package com.enjoyor.soa.traffic.api.dto.sms;

import java.io.Serializable;

import com.enjoyor.soa.traffic.util.bean.base.ABean;
import com.enjoyor.soa.traffic.util.enums.signal.SysStatus;

public class SysStatusDto implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * 信号机状态，1在线，2离线，3故障
	 */
	private String status;

	private String statusName;
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
		this.statusName = SysStatus.getValue(status);
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
}
